import { getAction, postForm } from './manage'
const path = process.env.REACT_APP_SMS_API;

// 获取验证码接口
const getVerification = (phone: any) => getAction(`${path}/send/${phone}`, {});
const loginApi = (params: any) => postForm(`${path}/pcLogin`, params);


export {
  getVerification,
  loginApi,
}